// 在新建终端中
// npm i express


const express = require('express')
const app = express()

app.get('/api/source', (req, res) => {
    setTimeout(() => {
        res.json([{
                name: 'alex',
                age: 18,
            },
            {
                name: 'tt',
                age: 19,
            }
        ])
    }, 1000)
}, )
app.listen(3000)